package com.ruoyi.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 公告消息对象 tws_notice
 * 
 * @author ruoyi
 * @date 2023-01-24
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_notice")
public class TwsNotice extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 发送给(userName) */
    @Excel(name = "发送给(userName)")
    private String noticeTo;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 0未读 1已读 */
    @Excel(name = "0未读 1已读")
    private String state;

}
